
$ErrorActionPreference = "Stop"

Copy-Item "./resources/test/1.in" "./temp/data.in"

g++ "./src/main/main.cpp" -o "./main.exe" -O2 -Wall -std=c++17
& "./main.exe" "./temp/data.in" "./temp/data.out"; Remove-Item "./main.exe"

python "./src/display/main.py" "./temp/data.out"
